package com.dys.designpattern.simplefactory.dstributeprizes.service;

import com.dys.designpattern.simplefactory.dstributeprizes.entity.DiscountResult;

/**
 * @Author: 疾风
 * @ClassName: DiscountService
 * @Description: 模拟打折券服务
 * @CreateDate: 2024/05/11
 * @Version: v1.0.0
 */
public class DiscountService {
    public DiscountResult sendDiscount(String uid, String number){

        System.out.println("向用户发放打折券一张: " + uid + " , " + number);
        return new DiscountResult("200","发放打折券成功");
    }
}
